<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script src="./virtualScroll.js"></script>
<script src="./index.js"></script>
<style>
  #content > div > div{
    height:  40px;
    border-bottom: 1px solid purple;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }
  #content > div {
    transition: .1s ease-in;
  }
  #content {
    height: 600px;
    border: 1px solid #000;
    width: 1000px;
    margin: 0 auto;
    overflow: auto;
    position: relative;
  }
  #content .vs__scroll {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background-color: #333;
    z-index: 2;
  }
  #content .vs__scroll .vs__scrollbar {
    background: red;
    border: none;
    min-height: 100px;
  }
</style>
<body>
  <div id="content">
  </div>
</body>
</html>